/**
 * merge level=-1
 */
(function() {
	var theme = Cookies.get('theme') || 'neptune';
	var suffix = [], i = 3, neptunePath;
	if (theme && theme !== 'classic') {
		suffix.push(theme);
	}
	suffix = (suffix.length) ? ('-' + suffix.join('-')) : '';
	document.write('<link rel="stylesheet" type="text/css" href="'
			+ 'extjs4/resources/css/ext-all' + suffix + '.css"/>');
	document
			.write('<script type="text/javascript" src="extjs4/ext-all-debug.js"></script>');
	if (theme === 'neptune') {
		neptunePath = 'js/shared/ext-theme-neptune.js';
		document.write('<script type="text/javascript" src="' + neptunePath
				+ '" defer></script>');
	}
})();